package top.shen33.yang.model.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 发动机时间管理
 * </p>
 *
 * @author oreilly
 * @since 2018-08-15
 */
public class PlsEngineTime extends Model<PlsEngineTime> {

private static final long serialVersionUID = 1L;

    /**
     * sid
     */
                    @TableId(value = "sid", type = IdType.AUTO)
                private Integer sid;
    /**
     * 年月
     */
        private String month;
    /**
     * 机型
     */
        private String aircraftType;
    /**
     * 装机机号
     */
        private String installNo;
    /**
     * 装机位置
     */
        private String installPosition;
    /**
     * 航站
     */
        private String airport;
    /**
     * 安装日期
     */
        private Date installDate;
    /**
     * 发动机序列号
     */
        private String engineSequcenceNumber;
    /**
     * 发动机型号
     */
        private String engineType;
    /**
     * 本月使用时间
     */
        private BigDecimal thisMonthUseTime;
    /**
     * 本月使用循环
     */
        private Integer thisMonthUseCycle;
    /**
     * 自开始使用时间
     */
        private BigDecimal useTotalTime;
    /**
     * 自开始使用循环
     */
        private Integer useTotalCycle;
    /**
     * 自修理使用时间
     */
        private BigDecimal selfRepairUseTime;
    /**
     * 自修理使用循环
     */
        private Integer selfRepairUseCycle;
    /**
     * 拆下日期
     */
        private Date uninstallDate;
    /**
     * 拆下原因
     */
        private String uninstallReason;
    /**
     * 从机务获取时间
     */
        private Date getTime;


    public Integer getSid() {
            return sid;
            }

        public void setSid(Integer sid) {
            this.sid = sid;
            }

    public String getMonth() {
            return month;
            }

        public void setMonth(String month) {
            this.month = month;
            }

    public String getAircraftType() {
            return aircraftType;
            }

        public void setAircraftType(String aircraftType) {
            this.aircraftType = aircraftType;
            }

    public String getInstallNo() {
            return installNo;
            }

        public void setInstallNo(String installNo) {
            this.installNo = installNo;
            }

    public String getInstallPosition() {
            return installPosition;
            }

        public void setInstallPosition(String installPosition) {
            this.installPosition = installPosition;
            }

    public String getAirport() {
            return airport;
            }

        public void setAirport(String airport) {
            this.airport = airport;
            }

    public Date getInstallDate() {
            return installDate;
            }

        public void setInstallDate(Date installDate) {
            this.installDate = installDate;
            }

    public String getEngineSequcenceNumber() {
            return engineSequcenceNumber;
            }

        public void setEngineSequcenceNumber(String engineSequcenceNumber) {
            this.engineSequcenceNumber = engineSequcenceNumber;
            }

    public String getEngineType() {
            return engineType;
            }

        public void setEngineType(String engineType) {
            this.engineType = engineType;
            }

    public BigDecimal getThisMonthUseTime() {
            return thisMonthUseTime;
            }

        public void setThisMonthUseTime(BigDecimal thisMonthUseTime) {
            this.thisMonthUseTime = thisMonthUseTime;
            }

    public Integer getThisMonthUseCycle() {
            return thisMonthUseCycle;
            }

        public void setThisMonthUseCycle(Integer thisMonthUseCycle) {
            this.thisMonthUseCycle = thisMonthUseCycle;
            }

    public BigDecimal getUseTotalTime() {
            return useTotalTime;
            }

        public void setUseTotalTime(BigDecimal useTotalTime) {
            this.useTotalTime = useTotalTime;
            }

    public Integer getUseTotalCycle() {
            return useTotalCycle;
            }

        public void setUseTotalCycle(Integer useTotalCycle) {
            this.useTotalCycle = useTotalCycle;
            }

    public BigDecimal getSelfRepairUseTime() {
            return selfRepairUseTime;
            }

        public void setSelfRepairUseTime(BigDecimal selfRepairUseTime) {
            this.selfRepairUseTime = selfRepairUseTime;
            }

    public Integer getSelfRepairUseCycle() {
            return selfRepairUseCycle;
            }

        public void setSelfRepairUseCycle(Integer selfRepairUseCycle) {
            this.selfRepairUseCycle = selfRepairUseCycle;
            }

    public Date getUninstallDate() {
            return uninstallDate;
            }

        public void setUninstallDate(Date uninstallDate) {
            this.uninstallDate = uninstallDate;
            }

    public String getUninstallReason() {
            return uninstallReason;
            }

        public void setUninstallReason(String uninstallReason) {
            this.uninstallReason = uninstallReason;
            }

    public Date getGetTime() {
            return getTime;
            }

        public void setGetTime(Date getTime) {
            this.getTime = getTime;
            }

@Override
protected Serializable pkVal() {
            return this.sid;
        }

@Override
public String toString() {
        return "PlsEngineTime{" +
                ", sid=" + sid +
                ", month=" + month +
                ", aircraftType=" + aircraftType +
                ", installNo=" + installNo +
                ", installPosition=" + installPosition +
                ", airport=" + airport +
                ", installDate=" + installDate +
                ", engineSequcenceNumber=" + engineSequcenceNumber +
                ", engineType=" + engineType +
                ", thisMonthUseTime=" + thisMonthUseTime +
                ", thisMonthUseCycle=" + thisMonthUseCycle +
                ", useTotalTime=" + useTotalTime +
                ", useTotalCycle=" + useTotalCycle +
                ", selfRepairUseTime=" + selfRepairUseTime +
                ", selfRepairUseCycle=" + selfRepairUseCycle +
                ", uninstallDate=" + uninstallDate +
                ", uninstallReason=" + uninstallReason +
                ", getTime=" + getTime +
        "}";
        }
        }
